diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx index e7109dcb..799c3b5a 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx @@ -13,13 +13,14 @@ import { InformationButton } from "@/components/information/information-button" import { useTranslation } from "@/i18n" interface IndexPageProps { searchParams: Promise<SearchParams> + params: Promise<{ lng: string }> } export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = searchParamsInvestigationCache.parse(searchParams) - const {lng} = await props.params - const {t} = await useTranslation(lng, 'menu') + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) |
